<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
    <link rel="stylesheet" th:href="@{css/common.css}" />
    <link rel="stylesheet" th:href="@{css/index.css}" />
    <link rel="stylesheet" type="text/css" th:href="@{css/bootstrap.min.css}"/>
    <title>登录</title>
</head>
<body>
    <div class="loginAlert clear publicWrap">
        <!--<div class="pubLogo">-->
            <!--<img src="img/Group.png" alt="" />-->
        <!--</div>-->
        <div class="Aright">
            <h1>登录</h1>
            <form th:action="@{/login}" th:object="${user}" method="post">
                <input type="tel" th:field="*{userName}" placeholder="请输入手机号" />
                <input type="password" th:field="*{passWord}" placeholder="请输入您的密码"/>
                <!--<p><a th:href="@{/forget/forgetPwdSecond}" class="forgetClick">忘记密码</a></p>-->
                <span style="color:darkred; display: block" th:text="${msg}"></span>
                <input type="submit" value="登录" />
                <div class="aLink">尚未申请，<a th:href="@{/register/toRegister}" class="goApply">去申请</a></div>
            </form>
        </div>
    </div>
    <div class="loginWrap">
        <img src="img/login-bg.png"/>
    </div>





    <!--~ this is client ~
<form th:action="@{/login}" th:object="${user}" method="post">
    用户名：<input type="text" th:field="*{userName}" >
    密码：<input type="text" th:field="*{passWord}" >
    <button type="submit">提交</button><br/>
    <span>尚未申请？</span>
    <a th:href="@{/register/toRegister}">申请</a><br/>
    <a th:href="@{/forget/forgetPwd}">忘记密码</a>
</form>-->

</body>
</html>